package application

import(
	"egoal.com/DistributionGo/core"
)

type UserDTO struct {
	Id          string
	Email       string
	PhoneNumber string
	UserName    string
}

func (u *UserDTO) FromUser(user *core.User){
	u.Id=user.Id
	u.Email=user.Email
	u.PhoneNumber=user.PhoneNumber
	u.UserName=user.UserName
}